//
//  MPDeviceObject.h
//  M800Project
//
//  Created by 姚宗超 on 14/11/5.
//  Copyright (c) 2014年 姚宗超. All rights reserved.
//

#import <Foundation/Foundation.h>

// 关注的资讯、广告类型
typedef NS_ENUM(NSUInteger, eMPDeviceType)
{
    eMPDeviceTypeIOS = 1,
    eMPDeviceTypeAndroid,
    eMPDeviceTypeOther
};

@interface MPDeviceObject : NSObject
AS_SINGLETON(MPDeviceObject);

@property (nonatomic, readwrite, copy)NSString* deviceId;
@property (nonatomic, readwrite, copy)NSString* bRegisterUserId;
@property (nonatomic, readwrite, copy)NSString* bRegisterChannelId;
@property (nonatomic, readwrite, copy)NSString* bRegisterAppId;
@property (nonatomic, readwrite, copy)NSString* deviceModel;
@property (nonatomic, readwrite, copy)NSString* osVersionString;
@property (nonatomic, readwrite, assign)eMPDeviceType deviceType;

@property (nonatomic, readwrite, assign)BOOL isFirstLogin;

// 我的订阅相关数据
@property (nonatomic, readwrite, strong)NSMutableArray* platformCodeArray;
@property (nonatomic, readwrite, strong)NSMutableArray* durationCodeArray;
@property (nonatomic, readwrite, strong)NSMutableArray* yearRateCodeArray;

@property (nonatomic, readwrite, strong)NSMutableArray* platformNameArray;
@property (nonatomic, readwrite, strong)NSMutableArray* durationNameArray;
@property (nonatomic, readwrite, strong)NSMutableArray* yearRateNameArray;

@property (nonatomic, readwrite, assign)BOOL isPushOn;

- (void)setupUserDefaultDataWithInfo:(NSDictionary *)infoDic;

@end
